/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 */

#ifndef __QS_StockInfo_H__
#define __QS_StockInfo_H__

#include <string>

namespace QSThink
{
	//which belonged to
	enum StockSymbolType
	{
		Symbol_Type_ShangHai,
		Symbol_Type_ShenZhen,
		Symbol_Type_ShenZhenExt,

		Symbol_Type_Count

	};
	/*At a specified day in query format
	*/
	class StockInfo
	{
	public:
		StockInfo();

		/*name symbol  day open close high low volume amount
		*/
		StockInfo(std::string name,int symbol,int day,
			float openPrice,float closePrice,float highPrice,float lowPrice,int volume,int amount);

	public:
		std::string name;//name
		int symbol;//600 000 start

		int day;//from 1900

		float openPrice;//today open market price //when store in disk we multiply it by 100
		float closePrice;//last day close market price

		float highPrice;//high Price of the day
		float lowPrice;//low price of the day
		int volume;//trade volume
		int amount;//trade amount(total trade value(RMB))

	};

	


}

#endif
